package com.jisheng.xb.job;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.jisheng.xb.common.CallHttpUtil;
import com.jisheng.xb.service.CatchDataService;

public class CatchDatajob {
	private static final Logger logger = LoggerFactory.getLogger(CatchDatajob.class);
	
	@Autowired
	private CatchDataService catchDataService;
	
	private String sign;
	
	public CatchDatajob(){
		
	}
	
	public CatchDatajob(String sign){
		this.sign = sign;
	}
	
	public void doit(){
		logger.info("开始同步数据 ------当前线程名称："+Thread.currentThread().getName());
		//catchDataService.saveByShareNos("sh601006,sz002705,sz002619", null);
		logger.info("同步数据结束 ------当前线程名称："+Thread.currentThread().getName());
	}
}
